package gov.nist.ssd.swqb.events;

import com.hp.hpl.jena.rdf.model.RDFNode;
import gov.nist.ssd.swqb.gui.components.SearchRunnable;
import java.util.EventObject;

/**
 *
 * @author Benjamin Herbomez <benjamin.herbomez@esial.com>
 */
public class SearchNewResultEvent extends EventObject{
     private String txt;
     private RDFNode node;
     private SearchRunnable runnable;

    public SearchNewResultEvent(Object source, String txt, RDFNode node, SearchRunnable runnable) {
        super(source);
        this.txt = txt;
        this.node = node;
        this.runnable = runnable;
    }

    public RDFNode getNode() {
        return node;
    }

    public String getTxt() {
        return txt;
    }

    public SearchRunnable getRunnable(){
        return runnable;
    }
    
}
